package com.ljs.service.impl;

import com.ljs.entity.Admin;
import com.ljs.respository.AdminMapper;
import com.ljs.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    AdminMapper adminMapper;
    @Override
    public Admin loginAdmin(String username, String password) {
        return adminMapper.loginAdmin(username,password);
    }
}
